<!DOCTYPE html>
<html>

<head>
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>学员全部预约管理</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../plugins/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="../plugins/adminLTE/css/AdminLTE.css">
    <link rel="stylesheet" href="../plugins/adminLTE/css/skins/_all-skins.min.css">
    <link rel="stylesheet" href="../css/style.css">
	<script src="../plugins/jQuery/jquery-2.2.3.min.js"></script>
    <script src="../plugins/bootstrap/js/bootstrap.min.js"></script>
    
    <script type="text/javascript" src="../plugins/angularjs/angular.min.js"></script>
    
	
	<!--分页组件  -->
		<script type="text/javascript" src="../plugins/angularjs/pagination.js"></script>
		<link rel="stylesheet" href="../plugins/angularjs/pagination.css">
	<!--分页结束  -->
    
    <script type="text/javascript" src="../js/base_pagination.js"></script>    
    <script type="text/javascript" src="../js/service/reservationSevice.js"></script>
    <!-- <script type="text/javascript" src="../js/controller/baseController.js"></script> -->        
    <script type="text/javascript" src="../js/controller/reservationController.js"></script>
    
    
</head>
<body class="hold-transition skin-red sidebar-mini"  ng-app="maiworld" ng-controller="reservationController" >
  <!-- .box-body -->
                <div class="box box-primary">
                    <div class="box-header with-border">
                        <h3 class="box-title">学员全部预约信息</h3>
                    </div>

                    <div class="box-body">

                        <!-- 数据表格 -->
                        <div class="table-box">

                            <!--工具栏-->
                            
                            <div class="box-tools pull-right">
                                <div class="has-feedback">
									学员姓名：<input ng-model="searchEntity.sname" >									
									<button class="btn btn-default"  ng-click="reloadList()">查询</button>                                    
                                </div>
                            </div>
                            <!--工具栏/-->

			                  <!--数据列表-->
			                  <table id="dataList" class="table table-bordered table-striped table-hover dataTable">
			                      <thead>
			                          <tr>
			                              <th class="" style="padding-right:0px">
			                                  <input id="selall" type="checkbox" class="icheckbox_square-blue">
			                              </th> 
										  <th class="sorting_asc">ID</th>
									      <th class="sorting">学员姓名</th>
									      <th class="sorting">性别</th>									      
									      <th class="sorting">学员身份</th>									      
									      <th class="soring">科目类型</th>
									      <th class="sorting">所属校区</th>
									      <th class="soring">预约教练姓名</th>
									      <th class="soring">培训车型</th>									      
										  <th class="sorting">签到状态</th>
									      <th class="sorting">预约时间</th> 													                     
			                          </tr>
			                      </thead>
			                      <tbody>
			                          <tr ng-repeat="entity in list track by $index">			                          	
			                              <td><input  type="checkbox"></td>			                              
				                          <td>{{entity.id}}</td>
									      <td>{{entity.sname}}</td>									     								      
									      <td>
										      <span ng-show="entity.sex1 =='0'">男</span>
										      <span ng-show="entity.sex1 =='1'">女</span>										      
									      </td>										      							     
									      <td>
										      <span ng-show="entity.isVip =='0'">普通</span>
										      <span ng-show="entity.isVip =='1'">VIP</span>
									      </td> 
									      <td>
										      <span ng-show="entity.subject =='0'">科目二</span>
										      <span ng-show="entity.subject =='1'">科目三</span>
									      </td>											       
									      <!-- <td> 
									      	<span ng-show="entity.study_status == '0'">未报名</span>
									      	<span ng-show="entity.study_status == '1'">科一</span>
									      	<span ng-show="entity.study_status == '2'">科二</span>
									      	<span ng-show="entity.study_status == '3'">科三</span>
									      	<span ng-show="entity.study_status == '4'">科四</span>
									      	<span ng-show="entity.study_status == '5'">领证</span>
									      	<span ng-show="entity.study_status == '6'">无限制</span>
									      </td> -->
									      <td>
									      	<span ng-repeat="item in schoolList" ng-if="item.id ==entity.status1" >{{item.name}}</span>
		                                  	</td>
									      <td>{{entity.cname}}</td>
									      <td>
									      		<span ng-show="entity.vehicleType =='1'">C1</span>
									      		<span ng-show="entity.vehicleType =='2'">C2</span>
									      		<span ng-show="entity.vehicleType =='7'">C3</span>
									      		<span ng-show="entity.vehicleType =='3'">B1</span>
									      		<span ng-show="entity.vehicleType =='4'">B2</span>
									      		<span ng-show="entity.vehicleType =='5'">A1</span>
									      		<span ng-show="entity.vehicleType =='6'">A2</span>
											    <span ng-show="entity.vehicleType =='8'">A3</span>
											    <span ng-show="entity.vehicleType =='9'">DEF</span>								     									      
									      </td>
									      <td> 
									      	<span ng-show="entity.checkStatus == '1'">已预约</span>
									      	<span ng-show="entity.checkStatus == '2'">已完成</span>
									      	<span ng-show="entity.checkStatus == '3'">未完成</span>
									      	<span ng-show="entity.checkStatus == '4'">已评价</span>									      	
									      </td>
									      <td>{{entity.period}}</td>							    								      									    		                                  		                              
			                          </tr>
									  
			                      </tbody>
			                  </table>
			                  <!--数据列表/-->                        
			 					 <!--分页  -->
							 	<tm-pagination conf="paginationConf"></tm-pagination>

                        </div>
                        <!-- 数据表格 /-->     
                     </div>                         	          					                                   
</body>

</html>